package com.wisdom.smartbook.facelib.core.model;

import android.graphics.Rect;

public class FaceDetectInfo {
    public int top;
    public int bottom;
    public int left;
    public int right;
    public int width;
    public int height;

    public Rect asRect() {
        return new Rect(this.left, this.top, this.right, this.bottom);

    }

    @Override
    public String toString() {
        return "FaceDetectInfo{" +
                ", left=" + left +
                ", top=" + top +
                ", right=" + right +
                ", bottom=" + bottom +
                '}';
    }
}
